package com.wyy.test2;

import com.wyy.mvc.ResponseBody;
import com.wyy.mvc.ResponseView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName XXXController
 * @Description TODO
 * @Author Wuky
 * @Time 2021/10/4 11:37
 * @Version 1.0
 **/
public class XXXController {
    @ResponseBody("/test1.do")
    public String test1(HttpServletRequest req, HttpServletResponse resp){
        return "hahaha";
    }

    @ResponseBody("/test2")
    public String test2(HttpServletRequest req, HttpServletResponse resp){
        return "hahaha";
    }

    @ResponseView("/test3.do")
    public String test3(HttpServletRequest req, HttpServletResponse resp){
        return "xxx.html";
    }
}
